<template>
    <div class="hello">
        <h1>{{ msg }}</h1>
    </div>
</template>

<script>
    import axios from "axios";

    export default {
        name: "HelloWorld",
        data() {
            return {
                msg: "Welcome to Your Vue.js App"
            };
        },
        created() {
            console.log("this is");

            axios({
                method: "get",
                url: "/api/agent/get-agentIdInfo?userid=33294",
                headers: {
                    "Content-Type": "application/x-www-form-urlencoded",
                    "accounttoken": "c0bc5c335284998f4520de0c47ccc8bf"
                }
            }).then(function (response) {
                console.log(response, "response");
            });
        }
    };
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
    .divBanner {
        height: auto;
    }

    .titleText {
        margin: 0 auto;
        line-height: 45px;
        font-size: 20px;
    }

    .divBanner img {
        height: 134px;
    }

    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .homeMenu {
        height: 80px;
    }

    .homeIcon {
        width: 20%;
        float: left;
        text-align: center;
        justify-content: center;
    }

    .itemImg {
        width: 3rem;
        display: block;
        margin: 5px auto;
    }

    .homeIcon span {
        font-size: 0.85rem;
    }

    .normalTitle {
        height: 45px;
    }

    .normalText {
        float: left;
        margin: 0 16px;
        line-height: 45px;
        font-weight: bold;
        font-size: 18px;
    }

    .moreText {
        float: right;
        margin: 0 16px;
        line-height: 45px;
    }

    .divRecommend {
        height: auto;
    }

    .recommendItem {
        width: 25%;
        box-sizing: border-box;
        display: block;
        padding: 0;
        overflow: hidden;
        float: left;
    }

    .bookItemImg {
        width: 90%;
        height: 120px;
    }

    .recommendItem span {
        text-align: left;
        display: block;
        margin-left: 10px;
    }

    .bookName {
        font-size: 14px;
        color: #13161a;
    }

    .bookAuthor {
        font-size: 12px;
        color: #a2a9b2;
    }

    .divBoutique {
        margin-top: 20px;
    }

    .boutiqueItem {
        width: 25%;
        box-sizing: border-box;
        display: block;
        padding: 0;
        overflow: hidden;
        float: left;
    }

    .boutiqueItem span {
        text-align: left;
        display: block;
        margin-left: 10px;
    }

    .divBookList {
        margin-top: 20px;
    }

    .hotSearch {
        margin: 0 16px;
        height: 80px;
        background-color: #f0ebf0;
        border-radius: 4px;
        position: relative;
    }

    .hotSearch span {
        position: relative;
        left: 20px;
        top: 10px;
        float: left;
    }

    .hotSearchItemImg1 {
        width: 40px;
        height: 43px;
        position: absolute;
        bottom: 0;
        right: 96px;
    }

    .hotSearchItemImg2 {
        width: 42px;
        height: 54px;
        position: absolute;
        bottom: 0;
        right: 60px;
    }

    .hotSearchItemImg3 {
        width: 48px;
        height: 64px;
        position: absolute;
        bottom: 0;
        right: 16px;
    }

    .completeClassic {
        margin: 18px 16px;
        height: 80px;
        background-color: #eedce0;
        border-radius: 4px;
        position: relative;
    }

    .completeClassic span {
        position: relative;
        left: 20px;
        top: 10px;
        float: left;
    }

    .highlyRecommendItem {
        height: 118px;
        display: block;
    }

    .highlyRecommendImg {
        width: 20%;
        height: 98px;
        float: left;
        margin: 10px 12px 10px 16px;
    }

    .highlyRecommendItem img {
        width: 100%;
        height: 100%;
    }

    .rightItem {
        height: 100px;
        width: 70%;
        /* margin-left: 25%; */
        /* padding: 10px 0; */
        margin: 10px 0;
        float: left;
    }

    .bookName1 {
        color: #13161a;
        display: block;
        font-weight: 500;
        font-size: 17px;
        text-align: left;
    }

    .bookInfo {
        color: #a2a9b2;
        display: block;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
        margin-top: 10px;
    }

    .bookSynopsis {
        color: #a2a9b2;
        display: block;
        font-size: 14px;
        margin-top: 10px;
        font-weight: 500;
        text-align: left;
    }

    .divHotSerialize {
        margin-top: 20px;
    }

    .hotSerializeItem {
        height: 118px;
        display: block;
    }

    .hotSerializeImg {
        width: 20%;
        height: 98px;
        float: left;
        margin: 10px 12px 10px 16px;
    }

    .hotSerializeItem img {
        width: 100%;
        height: 100%;
    }

    .divTypeItem {
        height: 88px;
    }

    .boyItem {
        height: 68px;
        float: left;
        margin: 10px 0 10px 16px;
    }

    .girlItem {
        height: 68px;
        float: left;
        margin: 10px 0 10px 16px;
    }

    .choiceMoreItem {
        height: 118px;
        display: block;
    }

    .choiceMoreImg {
        width: 20%;
        height: 98px;
        float: left;
        margin: 10px 12px 10px 16px;
    }

    .choiceMoreImg img {
        width: 100%;
        height: 100%;
    }

    .divChoiceMore {
        margin-top: 20px;
    }
</style>
